﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Odn.Dtos
{
    /// <summary>
    /// 分页数据返回对象
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Page<T> : IDto
        where T : class
    {
        /// <summary>
        /// 分页的结果信息
        /// </summary>
        public Paging Paging { get; set; }

        /// <summary>
        /// 分页之后的数据集合
        /// </summary>
        public List<T> Records { get; set; }
    }
}
